package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 车辆表 carinfo
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Carinfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 车辆信息ID */
	@Excel(name = "车辆信息ID")
	private Integer carinfoId;
	/** 会员ID */
	@Excel(name = "会员ID")
	private Integer huiYuanId;
	/** 货车车牌号 */
	@Excel(name = "货车车牌号")
	private String carNumber;
	/** 车辆品牌 */
	@Excel(name = "车辆品牌")
	private String carPinPai;
	/** 车辆类型 */
	@Excel(name = "车辆类型")
	private String carType;
	/** 载重量 */
	@Excel(name = "载重量")
	private Double carWeight;
	/** 车辆状态 */
	@Excel(name = "车辆状态", readConverterExp = "0=空闲,1=忙碌")
	private String status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "扩展字段")
	private String attribute;
	/** 燃油标号 */
	private String ranyou;
	/** 颜色 */
	private String yanse;
	/** 尾气排放标准 */
	private String weiqi;

	public void setCarinfoId(Integer carinfoId) 
	{
		this.carinfoId = carinfoId;
	}

	public Integer getCarinfoId() 
	{
		return carinfoId;
	}
	public void setHuiYuanId(Integer huiYuanId) 
	{
		this.huiYuanId = huiYuanId;
	}

	public Integer getHuiYuanId() 
	{
		return huiYuanId;
	}
	public void setCarNumber(String carNumber) 
	{
		this.carNumber = carNumber;
	}

	public String getCarNumber() 
	{
		return carNumber;
	}
	public void setCarPinPai(String carPinPai) 
	{
		this.carPinPai = carPinPai;
	}

	public String getCarPinPai() 
	{
		return carPinPai;
	}
	public void setCarType(String carType) 
	{
		this.carType = carType;
	}

	public String getCarType() 
	{
		return carType;
	}
	public void setCarWeight(Double carWeight) 
	{
		this.carWeight = carWeight;
	}

	public Double getCarWeight() 
	{
		return carWeight;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carinfoId", getCarinfoId())
            .append("huiYuanId", getHuiYuanId())
            .append("carNumber", getCarNumber())
            .append("carPinPai", getCarPinPai())
            .append("carType", getCarType())
            .append("carWeight", getCarWeight())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getRanyou() {
		return ranyou;
	}

	public void setRanyou(String ranyou) {
		this.ranyou = ranyou;
	}

	public String getYanse() {
		return yanse;
	}

	public void setYanse(String yanse) {
		this.yanse = yanse;
	}

	public String getWeiqi() {
		return weiqi;
	}

	public void setWeiqi(String weiqi) {
		this.weiqi = weiqi;
	}
}
